package excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * 操作excel表格，进行批量导入和导出
 *
 * @author: xingfuhao
 * @create: 2022-01-22 23:44
 */
@Data
public class DemoData {

    //Excel 批量导入测试
//    @ExcelProperty(value = "学生编号")
    @ExcelProperty(value = "学生编号" ,index = 0)
    private Integer sno;

    //上传代码的流程要记住
//    @ExcelProperty(value = "学生姓名")
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;


}
